Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.ecm.platform.suggestbox.core.defaultSuggesters--suggesters

This contribution is part of XML component org.nuxeo.ecm.platform.suggestbox.core.defaultSuggesters inside nuxeo-platform-suggestbox-core-9.10.jar /OSGI-INF/suggestbox-suggesters-contrib.xml

Extension Point

Extension point suggesters of component SuggestionService.

Contributed Items

  • <suggester class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.DocumentLookupSuggester" name="documentLookupByTitle">
          <parameters>
            <parameter name="providerName">DEFAULT_DOCUMENT_SUGGESTION</parameter>
            <parameter name="highlightFields">dc:title.fulltext,ecm:binarytext,dc:description.fulltext,ecm:tag,note:note.fulltext,file:content.name</parameter>
          </parameters>
        </suggester>
  • <suggester class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.UserGroupLookupSuggester" name="searchByUsersAndGroups">
          <parameters>
            <parameter name="userSuggestionsLimit">5</parameter>
            <parameter name="groupSuggestionsLimit">5</parameter>
            <parameter name="searchFields">fsd:dc_creator</parameter>
          </parameters>
        </suggester>

XML Source

<extension point="suggesters" target="org.nuxeo.ecm.platform.suggestbox.service.SuggestionService">

    <suggester class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.DocumentLookupSuggester" name="documentLookupByTitle">
      <parameters>
        <parameter name="providerName">DEFAULT_DOCUMENT_SUGGESTION</parameter>
        <parameter name="highlightFields">dc:title.fulltext,ecm:binarytext,dc:description.fulltext,ecm:tag,note:note.fulltext,file:content.name</parameter>
      </parameters>
    </suggester>

    <suggester class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.UserGroupLookupSuggester" name="searchByUsersAndGroups">
      <parameters>
        <parameter name="userSuggestionsLimit">5</parameter>
        <parameter name="groupSuggestionsLimit">5</parameter>
        <parameter name="searchFields">fsd:dc_creator</parameter>
      </parameters>
    </suggester>

  </extension>